package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 收藏列表对象 collect
 * 
 * @author ruoyi
 * @date 2024-12-30
 */
public class Collect extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏id */
    private Long id;

    /** 收藏内容 */
    @Excel(name = "收藏内容")
    private String nei;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setNei(String nei) 
    {
        this.nei = nei;
    }

    public String getNei() 
    {
        return nei;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("nei", getNei())
            .toString();
    }
}
